import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
// ng-zorro-UI
import { NgZorroAntdModule } from 'ng-zorro-antd';
import { ReactiveFormsModule, FormsModule } from '@angular/forms';
import { RouterModule } from '@angular/router';
// 国际化(i18n)
import { TranslateModule } from '@ngx-translate/core';

const SHAREDS = [
  NgZorroAntdModule,
  CommonModule,
  ReactiveFormsModule,
  FormsModule,
  RouterModule
];

@NgModule({
  declarations: [],
  imports: [...SHAREDS],
  exports: [TranslateModule, ...SHAREDS]
})
export class SharedModule {}
